<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
  <meta name="description" content="API docs for the MediaItemByIndex extension from the media library, for the Dart programming language.">
  <title>MediaItemByIndex extension - media library - Dart API</title>


  
  <link rel="preconnect" href="https://fonts.gstatic.com">
  <link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" rel="stylesheet">
  
  <link rel="stylesheet" href="../static-assets/github.css?v1">
  <link rel="stylesheet" href="../static-assets/styles.css?v1">
  <link rel="icon" href="../static-assets/favicon.png?v1">

  
</head>


<body data-base-href="../" data-using-base-href="false" class="light-theme">

<div id="overlay-under-drawer"></div>

<header id="title">
  <span id="sidenav-left-toggle" class="material-symbols-outlined" role="button" tabindex="0">menu</span>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="../index.html">yuuna</a></li>
    <li><a href="../media/media-library.html">media</a></li>
    <li class="self-crumb">MediaItemByIndex extension</li>
  </ol>
  <div class="self-name">MediaItemByIndex</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
  <div class="toggle" id="theme-button">
    <label for="theme">
      <input type="checkbox" id="theme" value="light-theme">
      <span id="dark-theme-button" class="material-symbols-outlined">
        brightness_4
      </span>
      <span id="light-theme-button" class="material-symbols-outlined">
        brightness_5
      </span>
    </label>
  </div>
</header>
<main>

<div id="dartdoc-main-content" class="main-content">
    <div>
<h1><span class="kind-class">MediaItemByIndex</span> extension 
 
</h1></div>

    

    <section>
      <dl class="dl-horizontal">
        <dt>on</dt>
        <dd>
          <ul class="comma-separated clazz-relationships">
              <li><a href="https://pub.dev/documentation/isar/3.1.0+1/isar/IsarCollection-class.html">IsarCollection</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../media/MediaItem-class.html">MediaItem</a></span>&gt;</span></li>
          </ul>
        </dd>
      </dl>
      


    </section>


    
  <section
      class="summary offset-anchor"
      id="instance-methods">
    <h2>Methods</h2>
    <dl class="callables">
        <dt id="deleteAllByUniqueKey" class="callable">
  <span class="name"><a href="../media/MediaItemByIndex/deleteAllByUniqueKey.html">deleteAllByUniqueKey</a></span><span class="signature">(<wbr><span class="parameter" id="deleteAllByUniqueKey-param-uniqueKeyValues"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>&gt;</span></span> <span class="parameter-name">uniqueKeyValues</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  
  

</dd>

        <dt id="deleteAllByUniqueKeySync" class="callable">
  <span class="name"><a href="../media/MediaItemByIndex/deleteAllByUniqueKeySync.html">deleteAllByUniqueKeySync</a></span><span class="signature">(<wbr><span class="parameter" id="deleteAllByUniqueKeySync-param-uniqueKeyValues"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>&gt;</span></span> <span class="parameter-name">uniqueKeyValues</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>
  </span>
  

</dt>
<dd>
  
  

</dd>

        <dt id="deleteByUniqueKey" class="callable">
  <span class="name"><a href="../media/MediaItemByIndex/deleteByUniqueKey.html">deleteByUniqueKey</a></span><span class="signature">(<wbr><span class="parameter" id="deleteByUniqueKey-param-uniqueKey"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">uniqueKey</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  
  

</dd>

        <dt id="deleteByUniqueKeySync" class="callable">
  <span class="name"><a href="../media/MediaItemByIndex/deleteByUniqueKeySync.html">deleteByUniqueKeySync</a></span><span class="signature">(<wbr><span class="parameter" id="deleteByUniqueKeySync-param-uniqueKey"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">uniqueKey</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span>
  </span>
  

</dt>
<dd>
  
  

</dd>

        <dt id="getAllByUniqueKey" class="callable">
  <span class="name"><a href="../media/MediaItemByIndex/getAllByUniqueKey.html">getAllByUniqueKey</a></span><span class="signature">(<wbr><span class="parameter" id="getAllByUniqueKey-param-uniqueKeyValues"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>&gt;</span></span> <span class="parameter-name">uniqueKeyValues</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../media/MediaItem-class.html">MediaItem</a>?</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  
  

</dd>

        <dt id="getAllByUniqueKeySync" class="callable">
  <span class="name"><a href="../media/MediaItemByIndex/getAllByUniqueKeySync.html">getAllByUniqueKeySync</a></span><span class="signature">(<wbr><span class="parameter" id="getAllByUniqueKeySync-param-uniqueKeyValues"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>&gt;</span></span> <span class="parameter-name">uniqueKeyValues</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../media/MediaItem-class.html">MediaItem</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  
  

</dd>

        <dt id="getByUniqueKey" class="callable">
  <span class="name"><a href="../media/MediaItemByIndex/getByUniqueKey.html">getByUniqueKey</a></span><span class="signature">(<wbr><span class="parameter" id="getByUniqueKey-param-uniqueKey"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">uniqueKey</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../media/MediaItem-class.html">MediaItem</a>?</span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  
  

</dd>

        <dt id="getByUniqueKeySync" class="callable">
  <span class="name"><a href="../media/MediaItemByIndex/getByUniqueKeySync.html">getByUniqueKeySync</a></span><span class="signature">(<wbr><span class="parameter" id="getByUniqueKeySync-param-uniqueKey"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">uniqueKey</span></span>)
    <span class="returntype parameter">&#8594; <a href="../media/MediaItem-class.html">MediaItem</a>?</span>
  </span>
  

</dt>
<dd>
  
  

</dd>

        <dt id="putAllByUniqueKey" class="callable">
  <span class="name"><a href="../media/MediaItemByIndex/putAllByUniqueKey.html">putAllByUniqueKey</a></span><span class="signature">(<wbr><span class="parameter" id="putAllByUniqueKey-param-objects"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../media/MediaItem-class.html">MediaItem</a></span>&gt;</span></span> <span class="parameter-name">objects</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://pub.dev/documentation/isar/3.1.0+1/isar/Id.html">Id</a></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  
  

</dd>

        <dt id="putAllByUniqueKeySync" class="callable">
  <span class="name"><a href="../media/MediaItemByIndex/putAllByUniqueKeySync.html">putAllByUniqueKeySync</a></span><span class="signature">(<wbr><span class="parameter" id="putAllByUniqueKeySync-param-objects"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../media/MediaItem-class.html">MediaItem</a></span>&gt;</span></span> <span class="parameter-name">objects</span>, </span><span class="parameter" id="putAllByUniqueKeySync-param-saveLinks">{<span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span> <span class="parameter-name">saveLinks</span> = <span class="default-value">true</span>}</span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://pub.dev/documentation/isar/3.1.0+1/isar/Id.html">Id</a></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  
  

</dd>

        <dt id="putByUniqueKey" class="callable">
  <span class="name"><a href="../media/MediaItemByIndex/putByUniqueKey.html">putByUniqueKey</a></span><span class="signature">(<wbr><span class="parameter" id="putByUniqueKey-param-object"><span class="type-annotation"><a href="../media/MediaItem-class.html">MediaItem</a></span> <span class="parameter-name">object</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://pub.dev/documentation/isar/3.1.0+1/isar/Id.html">Id</a></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  
  

</dd>

        <dt id="putByUniqueKeySync" class="callable">
  <span class="name"><a href="../media/MediaItemByIndex/putByUniqueKeySync.html">putByUniqueKeySync</a></span><span class="signature">(<wbr><span class="parameter" id="putByUniqueKeySync-param-object"><span class="type-annotation"><a href="../media/MediaItem-class.html">MediaItem</a></span> <span class="parameter-name">object</span>, </span><span class="parameter" id="putByUniqueKeySync-param-saveLinks">{<span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span> <span class="parameter-name">saveLinks</span> = <span class="default-value">true</span>}</span>)
    <span class="returntype parameter">&#8594; <a href="https://pub.dev/documentation/isar/3.1.0+1/isar/Id.html">Id</a></span>
  </span>
  

</dt>
<dd>
  
  

</dd>

    </dl>
  </section>
    
    
    
    


</div> <!-- /.main-content -->

<div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
    <header id="header-search-sidebar" class="hidden-l">
  <form class="search-sidebar" role="search">
    <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
  <li><a href="../index.html">yuuna</a></li>
  <li><a href="../media/media-library.html">media</a></li>
  <li class="self-crumb">MediaItemByIndex extension</li>
</ol>


    <h5>media library</h5>
    <ol>
      <li class="section-title"><a href="../media/media-library.html#classes">Classes</a></li>
        <li><a href="../media/ComputeManifestParams-class.html">ComputeManifestParams</a></li>
        <li><a href="../media/DictionaryMediaType-class.html">DictionaryMediaType</a></li>
        <li><a href="../media/MediaItem-class.html">MediaItem</a></li>
        <li><a href="../media/MediaSource-class.html">MediaSource</a></li>
        <li><a href="../media/MediaType-class.html">MediaType</a></li>
        <li><a href="../media/PlayerLocalMediaSource-class.html">PlayerLocalMediaSource</a></li>
        <li><a href="../media/PlayerMediaSource-class.html">PlayerMediaSource</a></li>
        <li><a href="../media/PlayerMediaType-class.html">PlayerMediaType</a></li>
        <li><a href="../media/PlayerNetworkStreamSource-class.html">PlayerNetworkStreamSource</a></li>
        <li><a href="../media/PlayerYoutubeSource-class.html">PlayerYoutubeSource</a></li>
        <li><a href="../media/ReaderBrowserSource-class.html">ReaderBrowserSource</a></li>
        <li><a href="../media/ReaderChatgptSource-class.html">ReaderChatgptSource</a></li>
        <li><a href="../media/ReaderClipboardSource-class.html">ReaderClipboardSource</a></li>
        <li><a href="../media/ReaderLyricsSource-class.html">ReaderLyricsSource</a></li>
        <li><a href="../media/ReaderMediaSource-class.html">ReaderMediaSource</a></li>
        <li><a href="../media/ReaderMediaType-class.html">ReaderMediaType</a></li>
        <li><a href="../media/ReaderMokuroSource-class.html">ReaderMokuroSource</a></li>
        <li><a href="../media/ReaderTtuSource-class.html">ReaderTtuSource</a></li>
        <li><a href="../media/ReaderWebsocketSource-class.html">ReaderWebsocketSource</a></li>
        <li><a href="../media/VideoManifest-class.html">VideoManifest</a></li>
        <li><a href="../media/ViewerCameraSource-class.html">ViewerCameraSource</a></li>
        <li><a href="../media/ViewerMediaSource-class.html">ViewerMediaSource</a></li>
        <li><a href="../media/ViewerMediaType-class.html">ViewerMediaType</a></li>

      <li class="section-title"><a href="../media/media-library.html#extensions">Extensions</a></li>
        <li><a href="../media/GetMediaItemCollection.html">GetMediaItemCollection</a></li>
        <li><a href="../media/MediaItemByIndex.html">MediaItemByIndex</a></li>
        <li><a href="../media/MediaItemQueryFilter.html">MediaItemQueryFilter</a></li>
        <li><a href="../media/MediaItemQueryLinks.html">MediaItemQueryLinks</a></li>
        <li><a href="../media/MediaItemQueryObject.html">MediaItemQueryObject</a></li>
        <li><a href="../media/MediaItemQueryProperty.html">MediaItemQueryProperty</a></li>
        <li><a href="../media/MediaItemQuerySortBy.html">MediaItemQuerySortBy</a></li>
        <li><a href="../media/MediaItemQuerySortThenBy.html">MediaItemQuerySortThenBy</a></li>
        <li><a href="../media/MediaItemQueryWhere.html">MediaItemQueryWhere</a></li>
        <li><a href="../media/MediaItemQueryWhereDistinct.html">MediaItemQueryWhereDistinct</a></li>
        <li><a href="../media/MediaItemQueryWhereSort.html">MediaItemQueryWhereSort</a></li>


      <li class="section-title"><a href="../media/media-library.html#constants">Constants</a></li>
        <li><a href="../media/MediaItemSchema-constant.html">MediaItemSchema</a></li>

      <li class="section-title"><a href="../media/media-library.html#properties">Properties</a></li>
        <li><a href="../media/channelProvider.html">channelProvider</a></li>
        <li><a href="../media/clipboardProvider.html">clipboardProvider</a></li>
        <li><a href="../media/commentsProvider.html">commentsProvider</a></li>
        <li><a href="../media/lyricsPermissionsProvider.html">lyricsPermissionsProvider</a></li>
        <li><a href="../media/lyricsProvider.html">lyricsProvider</a></li>
        <li><a href="../media/lyricsStreamProvider.html">lyricsStreamProvider</a></li>
        <li><a href="../media/repliesProvider.html">repliesProvider</a></li>
        <li><a href="../media/ttuBooksProvider.html">ttuBooksProvider</a></li>
        <li><a href="../media/ttuServerProvider.html">ttuServerProvider</a></li>
        <li><a href="../media/vttRegex.html">vttRegex</a></li>

      <li class="section-title"><a href="../media/media-library.html#functions">Functions</a></li>
        <li><a href="../media/computeCaptionsManifest.html">computeCaptionsManifest</a></li>
        <li><a href="../media/computeChannel.html">computeChannel</a></li>
        <li><a href="../media/computeCommentsList.html">computeCommentsList</a></li>
        <li><a href="../media/computeManifests.html">computeManifests</a></li>



</ol>

</div>

<div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
    <ol>





        <li class="section-title"><a href="../media/MediaItemByIndex.html#instance-methods">Methods</a></li>
          <li><a href="../media/MediaItemByIndex/deleteAllByUniqueKey.html">deleteAllByUniqueKey</a></li>
          <li><a href="../media/MediaItemByIndex/deleteAllByUniqueKeySync.html">deleteAllByUniqueKeySync</a></li>
          <li><a href="../media/MediaItemByIndex/deleteByUniqueKey.html">deleteByUniqueKey</a></li>
          <li><a href="../media/MediaItemByIndex/deleteByUniqueKeySync.html">deleteByUniqueKeySync</a></li>
          <li><a href="../media/MediaItemByIndex/getAllByUniqueKey.html">getAllByUniqueKey</a></li>
          <li><a href="../media/MediaItemByIndex/getAllByUniqueKeySync.html">getAllByUniqueKeySync</a></li>
          <li><a href="../media/MediaItemByIndex/getByUniqueKey.html">getByUniqueKey</a></li>
          <li><a href="../media/MediaItemByIndex/getByUniqueKeySync.html">getByUniqueKeySync</a></li>
          <li><a href="../media/MediaItemByIndex/putAllByUniqueKey.html">putAllByUniqueKey</a></li>
          <li><a href="../media/MediaItemByIndex/putAllByUniqueKeySync.html">putAllByUniqueKeySync</a></li>
          <li><a href="../media/MediaItemByIndex/putByUniqueKey.html">putByUniqueKey</a></li>
          <li><a href="../media/MediaItemByIndex/putByUniqueKeySync.html">putByUniqueKeySync</a></li>




</ol>

</div><!--/.sidebar-offcanvas-->

</main>

<footer>
  <span class="no-break">
    yuuna
      2.8.0+93
  </span>

  
</footer>



<script src="../static-assets/highlight.pack.js?v1"></script>
<script src="../static-assets/docs.dart.js"></script>



</body>

</html>


